package com.test2.game.object;

import java.util.ArrayList;
import java.util.List;

import com.badlogic.gdx.math.Vector2;

public class Geese {
	List<Egg> listTrungNgan = new ArrayList<Egg>();
	List<Shit> listChatThai = new ArrayList<Shit>();
	int sta;
	Vector2 pos = new Vector2();
	long bornTime;

	public Geese(float x, float y) {
		this.pos.x = x;
		this.pos.y = y;
		bornTime = System.currentTimeMillis();
	}

	public List<Egg> getListTrungNgan() {
		return listTrungNgan;
	}

	public void setListTrungNgan(List<Egg> listTrungNgan) {
		this.listTrungNgan = listTrungNgan;
	}

	public List<Shit> getListChatThaiNgan() {
		return listChatThai;
	}

	public void setListChatThaiNgan(List<Shit> listChatThai) {
		this.listChatThai = listChatThai;
	}

	public void setPosition(float x, float y) {
		this.pos.x = x;
		this.pos.y = y;
	}

	public float getX() {
		return this.pos.x;
	}

	public float getY() {
		return this.pos.y;
	}

	public long getBornTime() {
		return bornTime;
	}

	public void setBornTime(long time) {
		this.bornTime = time;
	}

	public int moveState() {
		if (pos.x > 418) {
			sta = 1;
		}
		if (pos.x < 0) {
			sta = 0;
		}
		return sta;
	}

}
